package com.wf.classRoomTest.decorator;

public class Client {
    public static void main(String[] args) {
        BasicCar basicCar = new BasicCar();
        basicCar.assemble();
        System.out.println();
        Car sportsCar = new SportsCar(basicCar);
        sportsCar.assemble();
        System.out.println();
        AutoCar autoCar = new AutoCar(sportsCar);
        autoCar.assemble();


    }
}